//
//  MKUIImagePickerOperation.h
//  mallhelper
//
//  Created by LIKUN on 15/8/4.
//  Copyright (c) 2015年 malllink. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "QFMultimedia.h"

//typedef enum {
//    MediaCameraType = 0,
//    MediaALAssetType,
//}MediaType;

@interface MKUIImagePickerOperation : NSObject<UIImagePickerControllerDelegate,UINavigationControllerDelegate>
//@property (strong, nonatomic) UIImagePickerController *imagePickerController;

+ (instancetype)shareInstance;
- (void)showImagePickerControllerWithType:(MediaType)type edit:(BOOL)edit success:(void(^)(UIImagePickerController *imagePickerController))block;

typedef void(^FinishedPickBlock)(UIImage *originalImage, UIImage *compressionImage);
@property (copy, nonatomic)FinishedPickBlock finishBlock;
- (void)pickerImageFinished:(void(^)(UIImage *originalImage, UIImage *compressionImage))block;
@end
